package com.game.model;

import java.util.ArrayList;
import java.util.concurrent.ConcurrentHashMap;

import com.dictionary.DictionaryTabel;

public class ConfigDesk {
	public long getBossFen() {
		return bossFen;
	}
	public void setBossFen(long bossFen) {
		this.bossFen = bossFen;
	}
	public int getNowRank() {
		return nowRank;
	}
	public void setNowRank(int nowRank) {
		this.nowRank = nowRank;
	}
	
	private String gameRecord;
	private int recordRunTime;
	private boolean isClosing = false;
	public String getGameRecord() {
		return gameRecord;
	}
	public void setGameRecord(String gameRecord) {
		this.gameRecord = gameRecord;
	}
	public int getRecordRunTime() {
		return recordRunTime;
	}
	public void setRecordRunTime(int recordRunTime) {
		this.recordRunTime = recordRunTime;
	}
	public boolean isClosing() {
		return isClosing;
	}
	public void setClosing(boolean isClosing) {
		this.isClosing = isClosing;
	}

	/** 房间编号 **/
	private int roomNum;
	/** 桌子编号 **/
	private int deskNum;
	/** 局号 **/
	private String juNum;
	/** 全部牌 **/
	private ArrayList<Integer> cards = new ArrayList<Integer>();
	/** 手牌 **/
	private ArrayList<Integer> spList = new ArrayList<Integer>(); 
	/** 历史记录 **/
	private ArrayList<Integer> history = new ArrayList<Integer>(); 
	/** 游戏状态*/
	private int gameState = DictionaryTabel.Game_Close; 
	/** boss分*/
	private long bossFen = 0l; 
	/** 当前关卡*/
	private int nowRank = DictionaryTabel.zhongcao;
	/** boss总血量*/
	private long bossTotalXue = DictionaryTabel.zhongcaoX;
	/** 关闭桌子的消息*/
	private String closeDeskMessage = "'";
	/** 是否延时关闭该桌子*/
	private boolean isDelayClose = false;
	/** 是否延时重启该桌子*/
	private boolean isDelayReStrat = false;
	
	/** 总下注信息 **/
	//private ConcurrentHashMap<Integer, ConcurrentHashMap<Integer, Integer>> totalBetInfo = new ConcurrentHashMap<Integer, ConcurrentHashMap<Integer, Integer>>();
	private ConcurrentHashMap<Integer, Long> totalBetInfo = new ConcurrentHashMap<Integer, Long>();
	/** 开奖区域 **/
	private ArrayList<Integer> openSub = new ArrayList<Integer>();
	
	public int getRoomNum() {
		return roomNum;
	}
	public void setRoomNum(int roomNum) {
		this.roomNum = roomNum;
	}
	public int getDeskNum() {
		return deskNum;
	}
	public void setDeskNum(int deskNum) {
		this.deskNum = deskNum;
	}
	public String getJuNum() {
		return juNum;
	}
	public void setJuNum(String juNum) {
		this.juNum = juNum;
	}
	public int getGameState() {
		return gameState;
	}
	public void setGameState(int gameState) {
		this.gameState = gameState;
	}
	public String getCloseDeskMessage() {
		return closeDeskMessage;
	}
	public void setCloseDeskMessage(String closeDeskMessage) {
		this.closeDeskMessage = closeDeskMessage;
	}
	public ArrayList<Integer> getCards() {
		return cards;
	}
	public void setCards(ArrayList<Integer> cards) {
		this.cards = cards;
	}
	public boolean isDelayClose() {
		return isDelayClose;
	}
	public void setDelayClose(boolean isDelayClose) {
		this.isDelayClose = isDelayClose;
	}
	public boolean isDelayReStrat() {
		return isDelayReStrat;
	}
	public void setDelayReStrat(boolean isDelayReStrat) {
		this.isDelayReStrat = isDelayReStrat;
	}
	/*public ConcurrentHashMap<Integer, ConcurrentHashMap<Integer, Integer>> getTotalBetInfo() {
		return totalBetInfo;
	}
	public void setTotalBetInfo(ConcurrentHashMap<Integer, ConcurrentHashMap<Integer, Integer>> totalBetInfo) {
		this.totalBetInfo = totalBetInfo;
	}*/
	public ConcurrentHashMap<Integer, Long> getTotalBetInfo() {
		return totalBetInfo;
	}
	public void setTotalBetInfo(ConcurrentHashMap<Integer, Long> totalBetInfo) {
		this.totalBetInfo = totalBetInfo;
	}
	public ArrayList<Integer> getSpList() {
		return spList;
	}
	public void setSpList(ArrayList<Integer> spList) {
		this.spList = spList;
	}
	public ArrayList<Integer> getHistory() {
		return history;
	}
	public void setHistory(ArrayList<Integer> history) {
		this.history = history;
	}
	public ArrayList<Integer> getOpenSub() {
		return openSub;
	}
	public void setOpenSub(ArrayList<Integer> openSub) {
		this.openSub = openSub;
	}
	public long getBossTotalXue() {
		return bossTotalXue;
	}
	public void setBossTotalXue(long bossTotalXue) {
		this.bossTotalXue = bossTotalXue;
	}
}
